﻿namespace BaseData.API.Read.Dtos
{
    public class AppointDTO
    {
        public int AppointmentId { get; set; }
        /// <summary>
        /// 就诊医院
        /// </summary>
        public string Attending { get; set; }
        /// <summary>
        /// 医院地址
        /// </summary>
        public string DoctorAddress { get; set; }
        /// <summary>
        /// 就诊科室
        /// </summary>
        public string Department { get; set; }=string.Empty;
        /// <summary>
        /// 就诊医生
        /// </summary>
        public string AttendingName { get; set; }
        /// <summary>
        /// 医生职称
        /// </summary>
        public string DoctorName { get; set; }
        /// <summary>
        /// 挂号类型
        /// </summary>
        public int RegistTypeId { get; set; }
        /// <summary>
        /// 门诊时间
        /// </summary>
        public DateTime OutpatientTime { get; set; }
        /// <summary>
        /// 候诊时间
        /// </summary>
        public DateTime WaitingTime { get; set; }
        /// <summary>
        /// 挂号费
        /// </summary>
        public int Cost { get; set; }
        /// <summary>
        /// 预约时间
        /// </summary>
        public DateTime AppointmentTime { get; set; }
        /// <summary>
        /// 就诊状态
        /// </summary>
        public bool MedicalState { get; set; }
        /// <summary>
        /// 取消原因
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 取消时间
        /// </summary>
       public DateTime CancelTime { get; set; }
        /// <summary>
        /// 挂号备注
        /// </summary>
        public string Desc { get; set; }
        /// <summary>
        /// 挂号类型
        /// </summary>
        public string RegisterName { get; set; }
        //测试


        //患者

        public int PatientId { get; set; }
        /// <summary>
        /// 关系[本人,父母,]
        /// </summary>
        public string? Relationship { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 证件类型[身份证/等]
        /// </summary>
        public string? IdCardType { get; set; }
        /// <summary>
        /// 证件号码
        /// </summary>
        public string? IdCardNum { get; set; }
        /// <summary>
        /// 就诊卡号-
        /// </summary>
        public string? MedicalCard { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }

        //////
        //科室外键
        public int DepartmentId { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string DepartmentName { get; set; }
    }
}
